<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html>
<head>
    <meta charset="utf-8">
    <title>本地下载</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="Layuimini/lib/layui-v2.6.3/css/layui.css"  media="all">
    <link rel="stylesheet" href="Layuimini/css/public.css" media="all">
    <link rel="stylesheet" href="Layuimini/lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">

</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>常用文件下载</legend>
        </fieldset>

        <div class="layui-collapse" lay-filter="test">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">Excel模板文件下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>用于导入数据表格Excel模板。
                        <button  type="button" style="margin-left: 30px" id="EXCBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击下载
                        </button>

                    </p>


                </div>
            </div>
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">项目数据库文件下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>SuperAfflatus数据库及表资料。
                        <button  type="button" style="margin-left: 30px" id="SQLBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击下载
                        </button>
                    </p>
                </div>
            </div>
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">多功能理财计算器下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>包括利息、收益率、复利、定投等理财计算工具。
                        <button  type="button" style="margin-left: 30px" id="CALBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击下载
                        </button>
                    </p>
                </div>
            </div>
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">数据报表预览及下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>iReport报表模板预览。
                        <button  type="button" style="margin-left: 30px" id="IREBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击预览
                        </button>
                    </p>
                </div>
            </div>

            <div class="layui-colla-item">
                <h2 class="layui-colla-title">linux部署文件下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>linux部署常用命令文档
                        <button  type="button" style="margin-left: 30px" id="LinBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击下载
                        </button>
                    </p>
                </div>
            </div>


            <div class="layui-colla-item">
                <h2 class="layui-colla-title">项目运行脚本下载<i class="layui-icon layui-colla-icon"></i></h2>
                <div class="layui-colla-content">
                    <p>项目运行脚本下载
                        <button  type="button" style="margin-left: 30px" id="LinSHBtn" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="fa fa-download"></i>
                            点击下载
                        </button>
                    </p>
                </div>
            </div>
        </div>




    </div>
</div>
<script  src="jQuery/jquery-2.1.1.min.js" th:src="@{LightYear/js/jquery.min.js}" charset="utf-8"></script>
<script src="Layuimini/lib/layui-v2.6.3/layui.js" th:src="@{Layuimini/lib/layui-v2.6.3/layui.js}" charset="utf-8"></script>
<script>
$("#EXCBtn").click(function () {
    layer.confirm('您确定下载Excel模板文件?',{btn: ['确定', '取消'],title:"提示"},function(index){
        window.location.href="downloadExcelFileCommon";
        layer.close(index);
    });


})
$("#SQLBtn").click(function () {
    layer.confirm('您确定下载数据库文件?',{btn: ['确定', '取消'],title:"提示"},function(index){
        window.location.href="downloadSQLFile";
        layer.close(index);
    });

})
$("#CALBtn").click(function () {
    layer.confirm('您确定下载理财计算器?',{btn: ['确定', '取消'],title:"提示"},function(index){
        window.location.href="downloadCalcFileCommon";
        layer.close(index);
    });

})
$("#IREBtn").click(function () {
    layer.confirm('您确定预览Report模板文件?',{btn: ['确定', '取消'],title:"提示"},function(index){
       // layer.msg("iReport模板功能正在发开中......")
       // window.location.href="SalaryPDF";
        window.open('SalaryPDF');
        layer.close(index);
    });

})

$("#LinBtn").click(function () {
    layer.confirm('您确定下载linux部署文件?',{btn: ['确定', '取消'],title:"提示"},function(index){
        window.location.href="downloadLinuxFile";
        layer.close(index);
    });

})


$("#LinSHBtn").click(function () {
    layer.confirm('您确定下载linux运行脚本文件?',{btn: ['确定', '取消'],title:"提示"},function(index){
        window.location.href="downloadLinuxSH";
        layer.close(index);
    });

})

</script>


</body>
</html>